import { ORDER_STATUS } from '@/enum/order';
import { LOADING_STATUS } from '@/enum/loadingStatus';
import { IOrder } from '@/types/order';

interface IMyOrderTab {
	label : string,
	value : ORDER_STATUS,
	loading_status : LOADING_STATUS,
	pageNum : number,
	pageSize : number,
	list : IOrder[],
}

interface ITabsChangeEvent {
	label : string,
	value : number,
	name : string,
}

interface IGetOrderListOptions{
	customer_id:number,
	methods:ORDER_STATUS,
	page:number,
	page_num:number,
}

export type {
	IMyOrderTab,
	ITabsChangeEvent,
	IGetOrderListOptions
}